<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Self Organizing Map (SOM): Rectangular Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Self Organizing Map (SOM)
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_rectangular.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_rectangular-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Rectangular Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="rectangular_8h_source.html">rectangular.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Rectangular:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_rectangular.png" usemap="#Rectangular_map" alt=""/>
  <map id="Rectangular_map" name="Rectangular_map">
<area href="class_grid.html" alt="Grid" shape="rect" coords="0,0,80,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8fc2d25fc29143c6564448007c4725cf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_rectangular.html#a8fc2d25fc29143c6564448007c4725cf">Rectangular</a> (int <a class="el" href="class_grid.html#a811c4e2e31bacb9b811aaaf105aeca00">width</a>, int <a class="el" href="class_grid.html#a76a5d361e4b78aa63fb50689d99dbba7">height</a>)</td></tr>
<tr class="separator:a8fc2d25fc29143c6564448007c4725cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6f0374c1d2933ec972a447336a9cea7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_position.html">Position</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_rectangular.html#ab6f0374c1d2933ec972a447336a9cea7">GetPosition</a> (int neurone_index)</td></tr>
<tr class="separator:ab6f0374c1d2933ec972a447336a9cea7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_grid"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_grid')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_grid.html">Grid</a></td></tr>
<tr class="memitem:a463827a577dd48e3479c06deb848c619 inherit pub_static_methods_class_grid"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid.html#a463827a577dd48e3479c06deb848c619">CalculateDistance</a> (<a class="el" href="struct_position.html">Position</a> pos1, <a class="el" href="struct_position.html">Position</a> pos2)</td></tr>
<tr class="separator:a463827a577dd48e3479c06deb848c619 inherit pub_static_methods_class_grid"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_grid"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_grid')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_grid.html">Grid</a></td></tr>
<tr class="memitem:a811c4e2e31bacb9b811aaaf105aeca00 inherit pub_attribs_class_grid"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid.html#a811c4e2e31bacb9b811aaaf105aeca00">width</a></td></tr>
<tr class="separator:a811c4e2e31bacb9b811aaaf105aeca00 inherit pub_attribs_class_grid"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76a5d361e4b78aa63fb50689d99dbba7 inherit pub_attribs_class_grid"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid.html#a76a5d361e4b78aa63fb50689d99dbba7">height</a></td></tr>
<tr class="separator:a76a5d361e4b78aa63fb50689d99dbba7 inherit pub_attribs_class_grid"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60331ff4ec77ec6d67a6483ce24b30dc inherit pub_attribs_class_grid"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid.html#a60331ff4ec77ec6d67a6483ce24b30dc">no_of_neurones</a></td></tr>
<tr class="separator:a60331ff4ec77ec6d67a6483ce24b30dc inherit pub_attribs_class_grid"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8fc2d25fc29143c6564448007c4725cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fc2d25fc29143c6564448007c4725cf">&#9670;&nbsp;</a></span>Rectangular()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Rectangular::Rectangular </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor of rectangular </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>Width of the lattice </td></tr>
    <tr><td class="paramname">height</td><td>Height of the lattice </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab6f0374c1d2933ec972a447336a9cea7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6f0374c1d2933ec972a447336a9cea7">&#9670;&nbsp;</a></span>GetPosition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_position.html">Position</a> Rectangular::GetPosition </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>neurone_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the (x,y) coordinates of a neurone </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neurone_index</td><td>Index of the neurone </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="struct_position.html">Position</a> of the neurone </dd></dl>

<p>Implements <a class="el" href="class_grid.html#adc1f7af8b2eb088977000fcb0c36023c">Grid</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/grid/<a class="el" href="rectangular_8h_source.html">rectangular.h</a></li>
<li>src/grid/<a class="el" href="rectangular_8cpp.html">rectangular.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_rectangular.html">Rectangular</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
